//
//  JNBottomBaseView.h
//  JiangNanMall
//
//  Created by icholab on 2020/7/15.
//  Copyright © 2020 DCloud. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
//标题高度44
static CGFloat titleHeight = 60.0;
@interface JNBottomBaseView : UIView

@property (nonatomic, strong) void (^ClickSubBlock)(void);


- (void)addContentView:(UIView *)contentView;
- (void)setTitle:(NSString *)title;
- (void)setAttrtibuteTitle:(NSMutableAttributedString *)title;
- (void)setCancelTitle:(NSString *)title;
- (void)setCancelImage:(UIImage *)image;
- (void)setSubmitTitle:(NSString *)title;
- (void)setSubmitImage:(UIImage *)image;

- (void)showSubmitButton;   //已废弃
- (void)show; //UI布局好，再做最后的展示
- (void)hidden;
/**点击确认按钮重写， 记得super 父类*/
- (void)clickSubmitAction;

- (void)setBottomCorner;    //圆角处理，特殊

- (UIView *)getBottomBaseView;
@end

NS_ASSUME_NONNULL_END
